#pragma once
#include<stdio.h>
#include<stdlib.h>
#define MAXSIZE 6
typedef int datatype;

typedef struct queue_node_st {
	datatype data[MAXSIZE];
	int head, tail;
}queue;

queue* qu_create();

int qu_isempty(queue*);

void qu_destroy(queue*);

void qu_travel(queue*);

int qu_enqueue(queue*,const datatype *data);

int qu_dequeue(queue*, datatype *data);

void qu_clear(queue*);
